﻿using Common.Prism.Apps;
using Prism.Commands;
using System.Windows.Input;

namespace NxChatQQ.ViewModels.Components
{
    public class CreateGroupViewModel : BaseDialogViewModel
    {
        private string _Plaintext;
        public string Plaintext
        {
            get { return _Plaintext; }
            set { SetProperty(ref _Plaintext, value); }
        }

        private string _EncryptedText;
        public string EncryptedText
        {
            get { return _EncryptedText; }
            set { SetProperty(ref _EncryptedText, value); }
        }

        public ICommand CancelCommond { get; set; }
        public ICommand ConfirmCommond { get; set; }





        public CreateGroupViewModel()
        {
            ConfirmCommond = new DelegateCommand(ConfirmClick);
            CancelCommond = new DelegateCommand(CancelClick);
        }

        private void ConfirmClick()
        {
            RequestClose();
        }

        private void CancelClick()
        {
            RequestClose();
        }

    }
}
